package mcsm.OperationCenter;

import java.util.ArrayList;

import mcsm.DataBaseIntegration.SearchConnect;
import mcsm.Model.Goods;
import mcsm.OperationCenter.InterfaceCenter.GoodsInfoFunction;

public class GoodsInfo {	
	public ArrayList<Goods> searchByID(String goodsID) {
		ArrayList<Goods> tempList=SearchConnect.searchForGoods(goodsID);
		
		if(tempList.size()!=0)
			return tempList;
		
		return null;
	}
}
